﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.DTO
{
    public class OrderDTO : BaseDTO
    {
        /// <summary>
        /// 该订单用户id
        /// </summary>
        public long UserId { get; set; }    

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }    

        /// <summary>
        /// 该订单的订单编号
        /// </summary>
        public string Guid { get; set; }

        /// <summary>
        /// 订单状态表
        /// </summary>
        public long StatusId { get; set; }

        public string StatusName { get; set; }

        /// <summary>
        /// 付款金额
        /// </summary>
        public float Amount { get; set; }   

        /// <summary>
        /// 该订单发票类型Id
        /// </summary>
        public long ReceiptId { get; set; }

        /// <summary>
        /// 发票
        /// </summary>
        public string ReceiptName { get; set; }

        /// <summary>
        /// 该订单的收货地址
        /// </summary>
        public long? AddressId { get; set; }  

        /// <summary>
        /// 收货地址
        /// </summary>
        public string ReciverAddress { get; set; }

        public string CompleteAddress{ get; set; }

        /// <summary>
        /// 区域id
        /// </summary>
        public long AreaId { get; set; }

        /// <summary>
        /// 邮政编号
        /// </summary>
        public string PostEmail { get; set; }

        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string ReciverName { get; set; }

        /// <summary>
        /// 收货人手机号
        /// </summary>
        public string PhoneNum { get; set; }

        public long PayWayId { get; set; }    // 该订单的支付方式

        /// <summary>
        /// 付款方式
        /// </summary>
        public string PayWayName { get; set; }

        public long ExpressId { get; set; } //  该订单的快递方式

        /// <summary>
        /// 付款方式
        /// </summary>
        public string Express { get; set; }

        public string LeaveWord { get; set; }   // 该订单的留言
    }
}
